import pagetypes from file